package team.seekers.oj.homework.dto;

import lombok.*;
import team.seekers.oj.common.entity.BaseDTO;

import java.util.Date;
import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class HomeworkManageDTO extends BaseDTO {

    private Long id;

    private Date gmtCreate;

    private Date gmtModified;

    private String title;

    private Long userId;

    private Long courseId;

    private Date gmtStart;

    private Date gmtEnd;

    private String description;

    private List<HomeworkProblemListDTO> problems;    // List<problemId>

    private List<Long> participantGroups; // List<userId>

}